#include<stdio.h>
int main()
{
	int n = 0, i = 2, sum = 2;
		sum = i;
		for (n = 1; n < 5; n++)
		{
			sum = sum + i * 10 + 2;
			i = i * 10 + 2;
		}
	printf("sum=%d", sum);
	return 0;
}